
package com.huaweicloud.haydn.delivercore.agent.dto.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import lombok.Data;

/**
 * 功能描述:表记录
 *
 * @since 2023-02-02
 */
@Data
@HeadRowHeight(60)
public class DbConsistencyExcelDto {
    @ExcelProperty(value = {"monitoring_object_uuid"}, index = 0)
    private String monitoringObjectUuid;

    @ExcelProperty(value = {"target_db_name"}, index = 1)
    private String targetDbName;

    @ExcelProperty(value = {"target_schema_name"}, index = 2)
    private String targetSchemaName;

    @ExcelProperty(value = {"target_table_name"}, index = 3)
    private String targetTableName;

    @ExcelProperty(value = {"target_field_name"}, index = 4)
    private String targetFieldName;

    @ExcelProperty(value = {"target_table_row"}, index = 5)
    private String targetTableRow;

    @ExcelProperty(value = {"source_db_name"}, index = 6)
    private String sourceDbName;

    @ExcelProperty(value = {"source_schema_name"}, index = 7)
    private String sourceSchemaName;

    @ExcelProperty(value = {"source_table_name"}, index = 8)
    private String sourceTableName;

    @ExcelProperty(value = {"source_field_name"}, index = 9)
    private String sourceFieldName;

    @ExcelProperty(value = {"source_table_row"}, index = 10)
    private String sourceTableRow;

    @ExcelProperty(value = {"from_sql"}, index = 11)
    private String fromSql;

    @ExcelProperty(value = {"to_sql"}, index = 12)
    private String toSql;

    @ExcelProperty(value = {"target_exception"}, index = 13)
    private String targetException;

    @ExcelProperty(value = {"source_exception"}, index = 14)
    private String sourceException;

    @ExcelProperty(value = {"monitoring_date"}, index = 15)
    private String monitoringDate;
}
